package com.atmc.mapper;

import com.atmc.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface UserMapper {
    List<User> selectAll();
    User selectOne(@Param("user_name")String user_name);
    int updateOne(User user);
    int deleteOne(@Param("user_id")Integer user_id);
    int insertOne(User user);
}
